package com.b2c.open.gateway.filter;

/**
 * 过滤器执行顺序
 * liuyu07
 */
public interface FilterOrder {

    /**
     * 全局过滤器
     */
    int GLOBAL_FILTER_ORDER = Integer.MIN_VALUE;
    /**
     * 最低级
     */
    int LOWEST_PRECEDENCE = Integer.MAX_VALUE;
    /**
     * 内部应用
     */
    int INTERNAL_FILTER_ORDER = 3;
    /**
     * 三方鉴权
     */
    int THIRD_AUTH_FILTER_ORDER = 2;
    /**
     * 三方统一返回
     */
    int THIRD_RESPONSE_FILTER_ORDER = 12;
    /**
     * websocket请求
     */
    int WEBSOCKET_FILTER_ORDER = 4;
}
